package cate.common.table.hallow.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

public class HallowHolySealRow extends ERow {
    public int level;
    public int type;
    public String attrStr;
    public String consumeStr;
    public int levelRequire;
    public String backStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.level = xrw.getInteger("圣印等级",1);
        this.type = xrw.getInteger("圣器ID",1);
        this.attrStr = xrw.getString("属性","");
        this.consumeStr = xrw.getString("消耗材料","");
        this.levelRequire = xrw.getInteger("需要圣器等级",0);
        this.backStr = xrw.getString("返还道具","");
        this.id = type * 1000 + level;
    }
}
